<section>
    <!-- left side start-->
    <div class="left-side sticky-left-side">

        <!--logo and iconic logo start-->
        <div class="logo">
            <img src="__PUBLIC__/image/logo.png" >
        </div>

        <div class="logo-icon text-center">
            <img src="__PUBLIC__/image/logo_icon.png" >
        </div>
        <!--logo and iconic logo end-->

        <div class="left-side-inner">

            <!-- visible to small devices only -->
            <div class="visible-xs hidden-sm hidden-md hidden-lg">
                <div class="media logged-user">
                    <img  src="{:session('seller_avatar')}" class="media-object">
                    <div class="media-body">
                        <h4>{:session('seller_name')}(余额:{:session('seller_available')})</h4>
                    </div>
                </div>

                <h5 class="left-nav-title">用户设置</h5>
                <ul class="nav nav-pills nav-stacked custom-nav">
                    <li>
                        <a href="{:WebUrl('admin/recharge',array())}"><i class="fa fa-credit-card"></i> 充值</a>
                    </li>
                    <li>
                        <a href="{:WebUrl('admin/pdlog',array())}"><i class="fa fa-building-o"></i> 账单</a>
                    </li>
                    <li>
                        <a href="{:WebUrl('admin/logout',array())}"><i class="fa fa-sign-out"></i> <span>退出登陆</span></a>
                    </li>
                </ul>
            </div>

            <!--sidebar nav start-->
            <ul class="nav nav-pills nav-stacked custom-nav">
                <li {php} if($routeController=='Admin'&&$routeAction=='setting'){echo 'class="active"';}{/php}>
                    <a href="{:WebUrl('admin/setting')}"><i class="fa fa-home"></i> <span>商城设置</span></a>
                </li>
                <li {php} if($routeController=='Adminpage'){echo 'class="menu-list nav-active"';}else{echo 'class="menu-list "';}{/php}>
                    <a href="javascript:void(0);"><i class="fa fa-laptop"></i> <span>页面设计</span></a>
                    <ul class="sub-menu-list">
                        <li {php} if($routeController=='Adminpage'&&$routeAction=='manage'){echo 'class="active"';}{/php} >
                            <a href="{:WebUrl('adminpage/manage')}"> 网站总览</a>
                        </li>
                        <li {php} if($routeController=='Adminpage'&&$routeAction=='managetpl'){echo 'class="active"';}{/php} >
                            <a href="{:WebUrl('adminpage/managetpl')}"> 模板管理</a>
                        </li>
                    </ul>
                </li>
                <li {php} if($routeController=='Adminmember'){echo 'class="menu-list nav-active"';}else{echo 'class="menu-list "';}{/php}>
                <a href="javascript:void(0);"><i class="fa fa-user"></i> <span>会员管理</span></a>
                <ul class="sub-menu-list">
                    <li {php} if($routeController=='Adminmember'&&$routeAction=='index'){echo 'class="active"';}{/php} >
                    <a href="{:WebUrl('adminmember/index')}"> 会员列表</a>
                    </li>
                    <li {php} if($routeController=='Adminmember'&&$routeAction=='managepage'){echo 'class="active"';}{/php} >
                    <a href="{:WebUrl('adminmember/add')}"> 添加会员</a>
                    </li>
                </ul>
                </li>
                <li {php} if($routeController=='Admingoods'){echo 'class="menu-list nav-active"';}else{echo 'class="menu-list"'; }{/php}>
                    <a href="javascript:void(0);"><i class="fa fa-shopping-cart"></i> <span>商品管理</span></a>
                    <ul class="sub-menu-list">
                        <li {php} if($routeController=='Admingoods'&&$routeAction=='index'){echo 'class="active"';}{/php} >
                            <a href="{:WebUrl('admingoods/index')}"> 商品列表</a>
                        </li>
                        <li {php} if($routeController=='Admingoods'&&$routeAction=='add'){echo 'class="active"';}{/php} >
                            <a href="{:WebUrl('admingoods/add')}"> 新建商品</a>
                        </li>
                        <li {php} if($routeController=='Admingoods'&&$routeAction=='downgoods'){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('admingoods/downgoods')}"> 下架商品</a>
                        </li>
                        <li {php} if($routeController=='Admingoods'&&$routeAction=='saledgoods'){echo 'class="active"';}{/php}>
                        <a href="{:WebUrl('admingoods/saledgoods')}"> 售罄商品</a>
                        </li>
                        <li {php} if($routeController=='Admingoods'&&$routeAction=='trashgoods'){echo 'class="active"';}{/php}>
                        <a href="{:WebUrl('admingoods/trashgoods')}"> 回收站</a>
                        </li>
                    </ul>
                </li>
                <li {php} if($routeController=='Adminorder'){echo 'class="menu-list nav-active"';}else{echo 'class="menu-list"'; }{/php}>
                    <a href="javascript:void(0);"><i class="fa fa-money"></i> <span>订单管理</span></a>
                    <ul class="sub-menu-list">
                        <li {php} if($routeController=='Adminorder'&&$routeAction=='index'&&$routeorderstate==1){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminorder/index',array('menu_order_state'=>1))}"> 订单列表</a>
                        </li>
                        <li {php} if($routeController=='Adminorder'&&$routeAction=='index'&&$routeorderstate==10){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminorder/index',array('menu_order_state'=>10))}"> 待付款</a>
                        </li>
                        <li {php} if($routeController=='Adminorder'&&$routeAction=='index'&&$routeorderstate==20){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminorder/index',array('menu_order_state'=>20))}"> 待发货</a>
                        </li>
                        <li {php} if($routeController=='Adminorder'&&$routeAction=='index'&&$routeorderstate==30){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminorder/index',array('menu_order_state'=>30))}"> 待收货</a>
                        </li>
                        <li {php} if($routeController=='Adminorder'&&$routeAction=='index'&&$routeorderstate==40){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminorder/index',array('menu_order_state'=>40))}"> 已完成</a>
                        </li>
                        <li {php} if($routeController=='Adminorder'&&$routeAction=='index'&&$routeorderstate==50){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminorder/index',array('menu_order_state'=>50))}"> 已评论</a>
                        </li>
                        <li {php} if($routeController=='Adminorder'&&$routeAction=='index'&&$routeorderstate==60){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminorder/index',array('menu_order_state'=>60))}"> 退单列表</a>
                        </li>

                        <li {php} if($routeController=='Adminorder'&&$routeAction=='index'&&$routeorderstate==70){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminorder/index',array('menu_order_state'=>70))}"> 退货列表</a>
                        </li>
                        <li {php} if($routeController=='Adminorder'&&$routeAction=='index'&&$routeorderstate==80){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminorder/index',array('menu_order_state'=>80))}"> 退款列表</a>
                        </li>
                    </ul>
                </li>

                <li {php} if($routeController=='Admingoodsclass'&&$routeAction=='index'){echo 'class="active"';}{/php}>
                    <a href="{:WebUrl('admingoodsclass/index')}"><i class="fa fa-sitemap"></i> <span>商品分类管理</span></a>
                </li>

                <li {php} if($routeController=='Admincustom'){echo 'class="menu-list nav-active"';}else{echo 'class="menu-list"'; }{/php}>
                    <a href="javascript:void(0);"><i class="fa fa-comments-o"></i> <span>客服管理</span></a>
                    <ul class="sub-menu-list">
                        <li {php} if($routeController=='Admincustom'&&$routeAction=='index'){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('admincustom/index')}"> 客服列表</a>
                        </li>
                        <li {php} if($routeController=='Admincustom'&&$routeAction=='add'){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('admincustom/add')}"> 添加客服</a>
                        </li>
                        <li {php} if($routeController=='Admincustom'&&$routeAction=='grouplist'){echo 'class="active"';}{/php}>
                        <a href="{:WebUrl('admincustom/grouplist')}"> 客服权限组列表</a>
                        </li>
                    </ul>
                </li>

                <li {php} if($routeController=='Adminstatic'){echo 'class="menu-list nav-active"';}else{echo 'class="menu-list"'; }{/php}>
                    <a href="javascript:void(0);"><i class="fa fa-bar-chart-o"></i> <span>营销数据管理</span></a>
                    <ul class="sub-menu-list">
                        <li {php} if($routeController=='Adminstatic'&&$routeAction=='pdlog'){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminstatic/pdlog')}"> 账单数据</a>
                        </li>
                        <li {php} if($routeController=='Adminstatic'&&$routeAction=='memberlog'){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminstatic/memberlog')}"> 会员数据</a>
                        </li>
                        <li {php} if($routeController=='Adminstatic'&&$routeAction=='orderlog'){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminstatic/orderlog')}"> 订单数据</a>
                        </li>
                    </ul>
                </li>

                <li {php} if($routeController=='Adminsupplier'){echo 'class="menu-list nav-active"';}else{echo 'class="menu-list"'; }{/php}>
                    <a href="javascript:void(0);"><i class="fa fa-group"></i> <span>供货商管理</span></a>
                    <ul class="sub-menu-list">
                        <li {php} if($routeController=='Adminsupplier'&&$routeAction=='index'){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminsupplier/index')}"> 供货商列表</a>
                        </li>
                        <li {php} if($routeController=='Adminsupplier'&&$routeAction=='add'){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminsupplier/add')}"> 添加供货商</a>
                        </li>
                        <li {php} if($routeController=='Adminsupplier'&&$routeAction=='log'){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('adminsupplier/log')}"> 供货商营销数据</a>
                        </li>
                    </ul>
                </li>
                <li {php} if($routeController=='Addons'){echo 'class="menu-list nav-active"';}else{echo 'class="menu-list"'; }{/php}>
                    <a href="javascript:void(0);"><i class="fa fa-tasks"></i> <span>插件商城</span></a>
                    <ul class="sub-menu-list">
                        <li {php} if($routeController=='Addons'&&$routeAction=='index'){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('addons/index')}"> 已有插件</a>
                        </li>
                        <li {php} if($routeController=='Addons'&&$routeAction=='shop'){echo 'class="active"';}{/php}>
                            <a href="{:WebUrl('addons/shop')}"> 在线商城</a>
                        </li>
                    </ul>
                </li>

            </ul>
            <!--sidebar nav end-->

        </div>
    </div>
    <!-- left side end-->
    <!-- main content start-->
    <div class="main-content">

        <!-- header section start-->
        <div class="header-section">

            <!--toggle button start-->
            <a class="toggle-btn"><i class="fa fa-bars"></i></a>
            <!--toggle button end-->



            <!--notification menu start -->
            <div class="menu-right">
                <ul class="notification-menu">
                    <li>
                        <a href="javascript:void(0);" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                            <img src="{:session('seller_avatar')}"  /> {:session('seller_name')} (余额:{:session('seller_available')}元)
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu dropdown-menu-usermenu pull-right">
                            <li>
                                <a href="{:WebUrl('admin/recharge',array())}"><i class="fa fa-credit-card"></i> 充值</a>
                            </li>
                            <li>
                                <a href="{:WebUrl('admin/pdlog',array())}"><i class="fa fa-building-o"></i> 账单</a>
                            </li>
                            <li>
                                <a href="{:WebUrl('admin/logout',array())}"><i class="fa fa-sign-out"></i> 退出</a>
                            </li>
                        </ul>
                    </li>

                </ul>
            </div>
            <!--notification menu end -->

        </div>
        <!-- header section end-->